package com.ruoyi.drone.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 组织方信息对象 drone_organization
 * 
 * @author ruoyi
 * @date 2024-01-01
 */
public class DroneOrganization extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 组织ID */
    private Long orgId;

    /** 用户ID（关联sys_user） */
    @Excel(name = "用户ID")
    private Long userId;

    /** 组织名称 */
    @Excel(name = "组织名称")
    private String orgName;

    /** 营业执照图片 */
    @Excel(name = "营业执照图片")
    private String licenseImage;

    /** 状态（0待审核 1已通过 2已拒绝 3已停用） */
    @Excel(name = "状态", readConverterExp = "0=待审核,1=已通过,2=已拒绝,3=已停用")
    private String status;

    /** 审核原因 */
    @Excel(name = "审核原因")
    private String auditReason;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date auditTime;

    /** 审核人 */
    @Excel(name = "审核人")
    private String auditBy;

    public void setOrgId(Long orgId) 
    {
        this.orgId = orgId;
    }

    public Long getOrgId() 
    {
        return orgId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setOrgName(String orgName) 
    {
        this.orgName = orgName;
    }

    public String getOrgName() 
    {
        return orgName;
    }
    public void setLicenseImage(String licenseImage) 
    {
        this.licenseImage = licenseImage;
    }

    public String getLicenseImage() 
    {
        return licenseImage;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setAuditReason(String auditReason) 
    {
        this.auditReason = auditReason;
    }

    public String getAuditReason() 
    {
        return auditReason;
    }
    public void setAuditTime(Date auditTime) 
    {
        this.auditTime = auditTime;
    }

    public Date getAuditTime() 
    {
        return auditTime;
    }
    public void setAuditBy(String auditBy) 
    {
        this.auditBy = auditBy;
    }

    public String getAuditBy() 
    {
        return auditBy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orgId", getOrgId())
            .append("userId", getUserId())
            .append("orgName", getOrgName())
            .append("licenseImage", getLicenseImage())
            .append("status", getStatus())
            .append("auditReason", getAuditReason())
            .append("auditTime", getAuditTime())
            .append("auditBy", getAuditBy())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
